#ifndef POS
#define POS

#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <sstream>
#include <iostream>

#define NORTH 1
#define SOUTH 2
#define EAST 3
#define WEST 4
#define GRID_SIZE 40

using namespace std;

namespace Group5 {
class Position {

	public:
	
	int x, y;
	Position(int px, int py);
	~Position();
	const bool operator==( Position const & p ) const;
	const bool operator<( Position const & ) const;
	Position adjacent_pos( int direction ) const;
	
	friend ostream & operator<<( ostream &out, const Position & p ) {
		out << "( " << p.x << ", " << p.y << " )";
		return out;
	}

};

};
#endif
